package com.bwie.mapper;

import java.util.List;
import java.util.Map;

import com.bwie.dto.Company;
import com.bwie.dto.Person;
import com.bwie.dto.Position;
import com.bwie.dto.User;

public interface WorkMapper {


	List<Person> getPersonList(Map<Object, Object> map);

	List<Company> getCompanyList();

	List<Position> getPositionList();

	Integer getPersonCount(Map<Object, Object> map);

	void add(Person person);

	Integer addUser2(User user2);

	Person findObjectById(Person person);

	void update(Person person);

	void addall(Person person);

	User getOnerByUser(User user2);

}
